github.com/refraction-networking/utls.atLeastReader.N (field)
20 uses
io
io.go#L419: if l, ok := src.(*LimitedReader); ok && int64(size) > l.N {
io.go#L420: if l.N < 1 {
io.go#L423: size = int(l.N)
io.go#L469: N int64 // max bytes remaining
io.go#L473: if l.N <= 0 {
io.go#L476: if int64(len(p)) > l.N {
io.go#L477: p = p[0:l.N]
io.go#L480: l.N -= int64(n)
net
sendfile.go#L31: remain, r = lr.N, lr.R
sendfile.go#L58: lr.N = remain - written
splice_linux.go#L23: remain, r = lr.N, lr.R
splice_linux.go#L46: lr.N -= written
net/http
transfer.go#L864: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > 0 {
transfer.go#L876: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N == 0 {
transfer.go#L966: return lr.N
transfer.go#L987: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
transport.go#L1907: br := bufio.NewReader(&io.LimitedReader{R: conn, N: t.maxHeaderResponseSize()})
os
zero_copy_linux.go#L83: lr.N = remain - written
zero_copy_linux.go#L116: lr.N -= written
zero_copy_posix.go#L34: remain = lr.N
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |